package org.rv.tester;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

@WebService(name = "whoisSoap", targetNamespace = "http://www.webservicex.net")
public interface WhoIsService {

	@WebMethod(operationName = "GetWhoIS", action = "http://www.webservicex.net/GetWhoIS")
	@WebResult(name = "GetWhoISResult", targetNamespace = "http://www.webservicex.net")
	@RequestWrapper(localName = "GetWhoIS", targetNamespace = "http://www.webservicex.net", className = "net.webservicex.GetWhoIS")
	@ResponseWrapper(localName = "GetWhoISResponse", targetNamespace = "http://www.webservicex.net", className = "net.webservicex.GetWhoISResponse")
	public String getWhoIs(
			@WebParam(name = "HostName", targetNamespace = "http://www.webservicex.net") String domain);
}
